- 
		Home
	
- 
The Events Calendar
- 
5.4.0.1
- 
Code
- 
Classes
-  Event_Period 
		
			
				
					
													
								
																			
											| Total Complexity | 92 | 
																			
											| Dependencies | 15 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 1,234 | 
																			
											| Lines of code | 406 | 
																			
											| Logical lines of code | 205 | 
																	
							 
													
								
																			
											| Comment lines | 666 | 
																			
											| Methods | 48 | 
																			
											| Properties | 8 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 48
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| group_sets_by_start_date() | A | 44 | 9 | 45 | 
					
				| query_for_sets() | S | 47 | 5 | 39 | 
					
				| query_w_limit() | S | 52 | 6 | 21 | 
					
				| by_period() | S | 54 | 6 | 20 | 
					
				| fetch_cached_sets() | S | 50 | 5 | 27 | 
					
				| get_sets() | S | 55 | 5 | 21 | 
					
				| get_sub_set() | S | 57 | 5 | 16 | 
					
				| add_missing_sets() | S | 62 | 3 | 11 | 
					
				| set_results_cache() | S | 52 | 2 | 23 | 
					
				| query_for_sets_starting_before_period_end() | S | 55 | 2 | 21 | 
					
				| query_for_sets_ending_after_period_start() | S | 56 | 2 | 20 | 
					
				| by() | S | 59 | 2 | 14 | 
					
				| get_sets_ids() | S | 61 | 2 | 13 | 
					
				| filter_sets_w_base_repository() | S | 62 | 2 | 12 | 
					
				| base_repository() | S | 70 | 2 | 7 | 
					
				| query_for_meta() | S | 58 | 1 | 15 | 
					
				| get_set() | S | 75 | 2 | 4 | 
					
				| by_args() | S | 91 | 1 | 2 | 
					
				| where() | S | 80 | 1 | 3 | 
					
				| page() | S | 91 | 1 | 2 | 
					
				| per_page() | S | 91 | 1 | 2 | 
					
				| found() | S | 91 | 1 | 2 | 
					
				| all() | S | 91 | 1 | 2 | 
					
				| offset() | S | 91 | 1 | 2 | 
					
				| order() | S | 91 | 1 | 2 | 
					
				| order_by() | S | 91 | 1 | 2 | 
					
				| fields() | S | 91 | 1 | 2 | 
					
				| in() | S | 91 | 1 | 2 | 
					
				| not_in() | S | 91 | 1 | 2 | 
					
				| parent() | S | 91 | 1 | 2 | 
					
				| parent_in() | S | 91 | 1 | 2 | 
					
				| parent_not_in() | S | 91 | 1 | 2 | 
					
				| search() | S | 91 | 1 | 2 | 
					
				| count() | S | 91 | 1 | 2 | 
					
				| first() | S | 91 | 1 | 2 | 
					
				| last() | S | 91 | 1 | 2 | 
					
				| nth() | S | 91 | 1 | 2 | 
					
				| take() | S | 91 | 1 | 2 | 
					
				| pluck() | S | 91 | 1 | 2 | 
					
				| filter() | S | 91 | 1 | 2 | 
					
				| sort() | S | 91 | 1 | 2 | 
					
				| collect() | S | 91 | 1 | 2 | 
					
				| get_ids() | S | 80 | 1 | 3 | 
					
				| cast_sets() | S | 66 | 1 | 9 | 
					
				| get_cache_key() | S | 74 | 1 | 4 | 
					
				| fetch() | S | 82 | 1 | 3 | 
					
				| by_date() | S | 74 | 1 | 4 | 
					
				| set_base_repository() | S | 81 | 1 | 3 |